/*
 * Copyright 2022-2029 heshuixing(https://gitee.com/heshuixing)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mercury.ec.framework.air.core.client.impl.sunstn.dto.rt;

import com.mercury.ec.framework.air.core.client.impl.sunstn.jaxb.adapter.LocalEnglishDate2XmlAdapter;
import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * RT航线信息
 *
 * @author hesx
 */
@Data
@XmlAccessorType(XmlAccessType.FIELD)
public class SunstnRtLineRespDTO {
    /**
     * 航班号
     */
    private String AirLine;

    /**
     * 舱位
     */
    private String Cabin;

    /**
     * 折扣
     */
    private BigDecimal Discount;

    /**
     * 出发城市
     */
    private String DepartureCity;

    /**
     * 出发机场
     */
    private String DepartureAirPort;

    /**
     * 到达城市
     */
    private String DestinationCity;

    /**
     * 到达机场
     */
    private String DestinationAirPort;

    /**
     * 航班日期
     */
    @XmlJavaTypeAdapter(LocalEnglishDate2XmlAdapter.class)
    private LocalDate Date;

    /**
     * 航班状态
     */
    private String State;

    /**
     * 航班时间
     */
    private String StartTime;

    /**
     * 到达时间
     */
    private String ArriveTime;

    /**
     * 出发航站楼
     */
    private String ST;

    /**
     * 抵达航站楼
     */
    private String AT;
}
